from django.urls import path,re_path
from . import views
urlpatterns = [
    re_path(r'image_code/(?P<image_uuid_code>[\w-]+)/',views.ImageCode.as_view(),name=''),
    path('is_user/',views.Is_user.as_view()),
    path('is_password/',views.Is_password.as_view()),
    path('is_pwd/',views.Is_pwd.as_view()),
    path('is_phone/',views.Is_phone.as_view()),
    # path('is_email/',views.Is_email.as_view()),
    #发送邮箱
    path('email/',views.Email.as_view()),
    #验证邮箱
    path('check_email/',views.CheckEmail.as_view()),
    #勾选按钮
    path('allow/',views.Allow.as_view()),
    re_path(r'register/',views.Register.as_view(),name='register'),
    re_path(r'weibo_back/',views.Weibo_back.as_view(),name='weibo_back'),
    re_path(r'weibo_url/',views.Weibo_Url.as_view(),name='weibo_url'),
    re_path(r'bind_user/',views.UserBind.as_view(),name='bind_user'),
    re_path(r'user_center_info/',views.User_center_info.as_view(),name='user_center_info'),
    re_path(r'xiuuserpassword/',views.Xiuuserpassword.as_view(),name='xiuuserpassword'),
    re_path(r'sendemail/',views.SendEmail.as_view(),name='sendemail'),
    re_path(r'resetpass/',views.ResetPass.as_view(),name='resetpass'),
    re_path(r'provinceiew/',views.Provinceiew.as_view(),name='provinceiew'),
    re_path(r'areas/(?P<id>\d+)/',views.ProvinceSubsView.as_view()),
    re_path(r'inert_addres/',views.Inert_addres.as_view(),name='inert_addres'),
    re_path(r'get_address/',views.Get_address.as_view(),name='get_address'),
    re_path(r'def_address/',views.Def_address.as_view(),name='def_address'),
    re_path(r'set_def_address/(?P<pid>\d+)/',views.Set_def_address.as_view()),
    re_path(r'shanchu/(?P<cid>\d+)/',views.Shanchu.as_view()),
    re_path(r'redact_address/(?P<adres_id>\d+)/',views.Redact_address.as_view()),

    # 127.0.0.1:8000/api/weibo_back/

]
